﻿.section section[role=main]
{
	margin-left: 120px;
	margin-right: 120px;
}

@media screen and (-ms-view-state: snapped)
{
	.section section[role=main]
	{
		margin-left: 20px;
		margin-right: 20px;
	}
}

@media screen and (-ms-view-state: fullscreen-portrait)
{
	.section section[role=main]
	{
		margin-left: 100px;
		margin-right: 100px;
	}
}

.sectionRoot
{
	display: -ms-grid;
	height: 100%;
	width: 100%;
	-ms-grid-rows: 110px 1fr;
	-ms-grid-columns: 1fr;
}

#flip
{
	width: 100%;
	-ms-grid-row: 2;
	height: 100%;
}

.headerArea
{
	display: -ms-grid;
	-ms-grid-rows: 1fr; 
	-ms-grid-columns: 120px auto 1fr;
}

.win-backbutton
{
	-ms-grid-column: 2; 
	-ms-grid-row: 1; 
	-ms-grid-row-align: end; 
	margin-bottom: 15px;
}

.titlearea
{
	height: auto; 
	-ms-grid-row: 1; 
	-ms-grid-column: 3; 
	-ms-grid-row-align: end; 
	margin-left: 10px;
}

.overlaidItemTemplate
{
	display: -ms-grid;
	-ms-grid-columns: 1fr;
	-ms-grid-rows: 1fr;
	width: 100%;
}

	.overlaidItemTemplate img
	{
		width: 100%;
		height: 100%;
	}

	.overlaidItemTemplate .overlay
	{
		position: relative;
		-ms-grid-row-align: end;
		background-color: rgba(0,0,0,0.65);
		height: 200px;
		padding: 20px 15px;
		overflow: hidden;
	}

		.overlaidItemTemplate .overlay .ItemTitle
		{
			color: rgba(255, 255, 255, 0.8);
			margin-top: -5px;
		}
